{ "error": { "message": "Model 'gpt5' not found", "type": "invalid_request_error", "param": "model", "code": "model_not_found", "did_you_mean": "gpt-4o", "suggestions": [ {"id": "gpt-4o"}, {"id": "gpt-4o-mini"}, {"id": "claude-sonnet-4-5"} ], "hint": "Did you mean 'gpt-4o'? Use GET /v1/models to list all available models." }}
{ "error": { "message": "Insufficient balance: need ~$0.3500 for claude-sonnet-4-5, but balance is $0.1200.", "type": "insufficient_balance", "code": "insufficient_balance", "balance_usd": 0.12, "estimated_cost_usd": 0.35, "suggestions": [ {"id": "gpt-4o-mini"}, {"id": "deepseek-chat"} ], "hint": "Insufficient balance: need ~$0.3500 for claude-sonnet-4-5, but balance is $0.1200. Try a cheaper model, or top up at https://lemondata.cc/dashboard/billing." }}
{ "error": { "message": "This model's maximum context length is 128000 tokens...", "type": "invalid_request_error", "code": "context_length_exceeded", "retryable": false, "suggestions": [ {"id": "gemini-2.5-pro"}, {"id": "claude-sonnet-4-5"} ], "hint": "Reduce your input or switch to a model with a larger context window." }}
X-LemonData-Hint: This model supports native Anthropic format. Use POST /v1/messages for better performance (no format conversion).X-LemonData-Native-Endpoint: /v1/messages