Documentation Index
Fetch the complete documentation index at: https://docs.laozhang.ai/llms.txt
Use this file to discover all available pages before exploring further.
API Overview
The Models API is used to obtain the AI model list and detailed information supported by the Laozhang API platform. Through this interface, you can view all available models, understand model features, and pricing information.API Information
API Endpoint:GET https://api.laozhang.ai/v1/models
Compatibility: Fully compatible with OpenAI official API format
Get Model List
Request Examples
Response Format
Get Specific Model Information
Request Examples
Response Format
Response Field Descriptions
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the model |
object | string | Object type, fixed as “model” |
created | integer | Model creation timestamp |
owned_by | string | Model owner |
permission | array | Model permission list |
root | string | Root model name |
parent | string | Parent model name (if applicable) |
Major Model Categories
OpenAI Series
GPT-5.5 Series
GPT-5.5 Series
OpenAI’s current flagship model family for complex reasoning, professional work, and code generation.Available Models:
gpt-5.5- Latest flagship modelgpt-5.5-pro- Higher-compute version for hard problems and long workflows
- Supports 1M context
- Strong complex reasoning and coding-agent performance
- Excellent multilingual capabilities
GPT-5 / GPT-4.1 Series
GPT-5 / GPT-4.1 Series
Stable general-purpose model families for production and cost-sensitive workloads.Available Models:
gpt-5- Advanced general tasksgpt-5-mini- Lightweight and efficient versiongpt-5-nano- High-volume low-cost tasksgpt-4.1- Classic stable modelgpt-4.1-mini- Fast, economical general-purpose choice
- Compatible with common OpenAI SDKs
- Covers high-quality and low-cost needs
- Good code understanding capability
Reasoning Models
Reasoning Models
Models designed specifically for complex reasoning tasksAvailable Models:
o3-pro- Top-tier reasoning taskso3- Complex reasoning, math, and programmingo4-mini- Lightweight reasoning and coding value
- Powerful mathematical reasoning ability
- Suitable for complex logical problems
- Choose model tier based on task complexity
Claude Series
Claude 4.7 / 4.6 Series
Claude 4.7 / 4.6 Series
Anthropic’s current main model family for coding agents, complex reasoning, and long-text work.Available Models:
claude-opus-4-7- Current most capable general modelclaude-opus-4-7-thinking- Deep reasoning modeclaude-sonnet-4-6- Balanced speed, cost, and intelligenceclaude-sonnet-4-6-thinking- Sonnet reasoning modeclaude-haiku-4-5- Fast lightweight version
- Excellent code generation capability
- Strong text understanding ability
- Good fit for multi-step tool use and long workflows
Claude 4.5 / Legacy Compatibility
Claude 4.5 / Legacy Compatibility
Classic high-performance versions for existing projects. New integrations should prefer Opus 4.7 or Sonnet 4.6.Available Models:
claude-opus-4-5- Classic high-performance versionclaude-sonnet-4-5- Stable coding versionclaude-3-7-sonnet-latest- Legacy compatibilityclaude-3-5-sonnet-latest- Legacy compatibility
- Useful for smooth migration of existing configs
- Not recommended as the first example for new docs
Google Gemini Series
Gemini 3.1 / 3 Series
Gemini 3.1 / 3 Series
Google’s latest Gemini series for multimodal, long-context, and tool-use workloads.Available Models:
gemini-3.1-pro-preview- Latest Pro preview modelgemini-3.1-pro-preview-customtools- Custom tools and bash workflowsgemini-3-flash-preview- Fast multimodal modelgemini-3.1-flash-lite-preview- Lightweight fast versiongemini-3-pro-image-preview- Image generation model
- Long-context and multimodal input
- Strong multimodal capabilities
gemini-3-pro-previewhas been shut down; migrate togemini-3.1-pro-preview
Gemini 2.5 Series
Gemini 2.5 Series
Stable production-ready Gemini 2.5 models.Available Models:
gemini-2.5-pro- Stable long-context and multimodal modelgemini-2.5-flash- Fast response versiongemini-2.5-flash-lite- Lightweight versiongemini-2.5-flash-image- Image generation version
- Good fit for production and cost optimization
- Complements Gemini 3 for stable vs. preview choices
Chinese Language Models
Alibaba Tongyi Series
Alibaba Tongyi Series
Large language models developed by AlibabaAvailable Models:
qwen-turbo- Fast versionqwen-plus- High-performance versionqwen-max- Most powerful version
- Outstanding Chinese capabilities
- Rich multi-domain knowledge
- High cost-performance ratio
DeepSeek Series
DeepSeek Series
Models focused on code and reasoningAvailable Models:
deepseek-chat- Dialogue modeldeepseek-coder- Code-specificdeepseek-v2.5- Latest version
- Outstanding code capabilities
- Strong reasoning ability
- Open-source friendly
Zhipu GLM Series
Zhipu GLM Series
Large models developed by Tsinghua UniversityAvailable Models:
glm-4- Fourth generation modelglm-4v- Multimodal versionglm-3-turbo- Fast version
- Strong academic capabilities
- Excellent Chinese-English bilingual
- Suitable for research applications
Image Generation Models
Text-to-Image
| Model ID | Provider | Features | Price |
|---|---|---|---|
dall-e-3 | OpenAI | High-quality image generation | $0.04/image |
dall-e-2 | OpenAI | Classic image generation | $0.02/image |
gpt-4o-image | Laozhang API optimized | Ultra-high cost-performance | $0.01/image |
flux-pro | Flux | Professional-grade quality | $0.05/image |
flux-dev | Flux | Development version | $0.03/image |
midjourney-v6 | Midjourney | Strong artistic quality | $0.08/image |
stable-diffusion-xl | Stability AI | Open-source high-quality | $0.02/image |
Image Understanding
| Model ID | Provider | Features | Price |
|---|---|---|---|
gpt-4o | OpenAI | Strong image understanding | $5/1M tokens |
gpt-4o-mini | OpenAI | Lightweight image understanding | $0.15/1M tokens |
gemini-3.1-pro-preview | Multimodal understanding, long context | Check console | |
claude-opus-4-7 | Anthropic | Document image understanding, complex analysis | Check console |
Audio Models
Text-to-Speech (TTS)
| Model ID | Provider | Features | Price |
|---|---|---|---|
tts-1 | OpenAI | Standard speech synthesis | $15/1M characters |
tts-1-hd | OpenAI | High-definition speech synthesis | $30/1M characters |
Speech-to-Text (STT)
| Model ID | Provider | Features | Price |
|---|---|---|---|
whisper-1 | OpenAI | Multilingual speech recognition | $0.006/minute |
Usage Recommendations
Select Models by Scenario
Daily Conversations
Recommended: GPT-5.5, Claude Sonnet 4.6, Gemini 3 Flash Preview
Features: Fast response, low cost, good quality
Code Generation
Recommended: GPT-5.5, Claude Opus 4.7, Claude Sonnet 4.6
Features: Strong code understanding, high generation quality
Complex Reasoning
Recommended: GPT-5.5, o3-pro, Claude Opus 4.7 Thinking
Features: Strong logical reasoning, suitable for math problems
Chinese Processing
Recommended: Tongyi Qianwen, GLM-4, Wenxin Yiyan
Features: Excellent Chinese understanding and generation
Cost-Performance Selection
Budget Priority
Budget Priority
Recommended Models:
gpt-4.1-miniclaude-haiku-4-5gemini-3.1-flash-lite-previewdeepseek-chat
- Large-scale text processing
- Batch data analysis
- Development and testing phases
Performance Priority
Performance Priority
Recommended Models:
gpt-5.5claude-opus-4-7claude-opus-4-7-thinkinggemini-3.1-pro-preview
- Critical business applications
- Complex reasoning tasks
- High-quality content generation
Balanced Choice
Balanced Choice
Recommended Models:
claude-sonnet-4-6gpt-5gemini-2.5-proo4-mini
- Daily business applications
- Medium-complexity tasks
- Long-term stable usage
Real-time Model Information Retrieval
You can obtain the latest model list and pricing information in real-time through the API:Error Handling
| Error Code | Description | Solution |
|---|---|---|
| 401 | Invalid API Key | Check if API Key is correct |
| 403 | Insufficient permissions | Confirm API Key has access permissions |
| 404 | Model does not exist | Check if model ID is correct |
| 429 | Too many requests | Reduce request frequency |
| 500 | Server error | Retry later or contact support |
View Complete Model List
View detailed information and pricing for all 200+ AI models
Start Using Chat API
Learn how to call models using Chat Completions API