Billing Rules
Billing Method: Billing follows OpenAI API’s token-based pricing method, where 1000 tokens ≈ 500-750 words.
Claude Code Billing Method: The billing algorithm is consistent with the official, with dynamically adjusted price ratio. Current ratio: 1 USD = 1.6 credits
CodeX Billing Method: The billing algorithm is consistent with the official, with dynamically adjusted price ratio. Current ratio: 1 USD = 0.5 credits
Credits to RMB Ratio: Credits and RMB are at a 1:1 ratio. In this article, you can see the ratio between our prices and official prices.
Long Conversation Billing Principle: The principle of long conversations with AI is that each conversation implicitly sends all previous content to the AI. As conversations get longer, the cumulative content sent also increases, so token consumption will also increase.
How to Integrate
We support API calls for various models. No format adaptation is needed. Use OpenAI API format, just modify base_url and api_key. api_key uses the main site Login Code, pay-as-you-go.
base_url: https://ai.liaobots.work/v1
api_key: Login Code
curl --location 'https://ai.liaobots.work/v1/chat/completions' \
--header 'Authorization: Bearer Login Code' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4o",
"stream": false,
"messages": [
{
"role": "user",
"content": "hi"
}
]
}'
Model List
The following prices are for 1k tokens. Official prices are in USD, and credits can be simply calculated as RMB. Latest exchange rate (~7.3): usd-to-cny-rate
Prices may change with market fluctuations, but we will always insist on providing lower prices than official
| 供应商 | 模型名 | 上下文 | 积分价格 | 折扣比例 | 官方价格(USD) |
|---|
| Anthropic | claude-sonnet-4-5-20250929-t | 200.0K | 输入 0.009, 输出 0.045 | 41% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-sonnet-4-20250514-thinking | 200.0K | 输入 0.024, 输出 0.12 | 109% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-sonnet-4-20250514-t | 200.0K | 输入 0.009, 输出 0.045 | 41% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-sonnet-4-20250514 | 200.0K | 输入 0.024, 输出 0.12 | 109% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-opus-4-1-20250805-t | 200.0K | 输入 0.045, 输出 0.225 | 41% | 输入 0.015, 输出 0.075 |
| Anthropic | claude-opus-4-1-20250805 | 200.0K | 输入 0.135, 输出 0.675 | 123% | 输入 0.015, 输出 0.075 |
| Anthropic | claude-opus-4-20250514-thinking | 200.0K | 输入 0.135, 输出 0.675 | 123% | 输入 0.015, 输出 0.075 |
| Anthropic | claude-opus-4-20250514 | 200.0K | 输入 0.135, 输出 0.675 | 123% | 输入 0.015, 输出 0.075 |
| Anthropic | claude-sonnet-4-5-20250929-thinking | 200.0K | 输入 0.024, 输出 0.12 | 109% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-sonnet-4-5-20250929 | 200.0K | 输入 0.024, 输出 0.12 | 109% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-7-sonnet-20250219-thinking | 200.0K | 输入 0.024, 输出 0.12 | 109% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-7-sonnet-20250219-t | 200.0K | 输入 0.009, 输出 0.045 | 41% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-7-sonnet-20250219 | 200.0K | 输入 0.024, 输出 0.12 | 109% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-5-sonnet-20241022-t | 200.0K | 输入 0.003, 输出 0.015 | 13% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-5-sonnet-20241022 | 200.0K | 输入 0.027, 输出 0.135 | 123% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-5-sonnet-latest | 200.0K | 输入 0.0165, 输出 0.0825 | 75% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-5-sonnet-20240620 | 200.0K | 输入 0.027, 输出 0.135 | 123% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-5-haiku-20241022 | 200.0K | 输入 0.004, 输出 0.02 | 54% | 输入 0.001, 输出 0.005 |
| Anthropic | claude-3-haiku-20240307 | 200.0K | 输入 0.0075, 输出 0.0375 | 102% | 输入 0.001, 输出 0.005 |
| Anthropic | claude-3-sonnet-20240229 | 200.0K | 输入 0.012, 输出 0.06 | 54% | 输入 0.003, 输出 0.015 |
| Anthropic | claude-3-opus-20240229 | 200.0K | 输入 0.135, 输出 0.675 | 123% | 输入 0.015, 输出 0.075 |
| Anthropic | claude-2.1 | 200.0K | 输入 0.06, 输出 0.18 | 102% | 输入 0.008, 输出 0.024 |
| Anthropic | claude-2.0 | 200.0K | 输入 0.06, 输出 0.18 | 102% | 输入 0.008, 输出 0.024 |
| Anthropic | claude-2 | 200.0K | 输入 0.06, 输出 0.18 | 102% | 输入 0.008, 输出 0.024 |
| DeepSeek | deepseek-v3.2-exp | 128.0K | 输入 0.0011, 输出 0.0016 | 52% | 输入 0.00028, 输出 0.00042 |
| DeepSeek | deepseek-v3.1 | 128.0K | 输入 0.0011, 输出 0.0046 | 57% | 输入 0.00027, 输出 0.0011 |
| DeepSeek | deepseek-v3-0324 | 128.0K | 输入 0.0011, 输出 0.0046 | 57% | 输入 0.00027, 输出 0.0011 |
| DeepSeek | deepseek-v3 | 128.0K | 输入 0.00125, 输出 0.0025 | 31% | 输入 0.00027, 输出 0.0011 |
| DeepSeek | deepseek-r1-distill-llama-70b | 128.0K | 输入 0.003, 输出 0.006 | 37% | 输入 0.00055, 输出 0.00219 |
| DeepSeek | deepseek-r1-0528 | 128.0K | 输入 0.00231, 输出 0.0092 | 57% | 输入 0.00055, 输出 0.00219 |
| DeepSeek | deepseek-r1 | 128.0K | 输入 0.00231, 输出 0.0092 | 57% | 输入 0.00055, 输出 0.00219 |
| Google | imagen-4.0-ultra-generate-preview-06-06 | 100.0K | 输入 0.2, 输出 0.2 | 2% | 输入 1, 输出 1 |
| Google | imagen-4.0-generate-preview-06-06 | 100.0K | 输入 0.1, 输出 0.1 | 1% | 输入 1, 输出 1 |
| Google | gemini-exp-1206 | 1024.0K | 输入 0.003, 输出 0.012 | 32% | 输入 0.005, 输出 0.005 |
| Google | gemini-exp-1121 | 1024.0K | 输入 0.003, 输出 0.012 | 32% | 输入 0.005, 输出 0.005 |
| Google | gemini-exp-1114 | 1024.0K | 输入 0.003, 输出 0.012 | 32% | 输入 0.005, 输出 0.005 |
| Google | gemini-3-pro-preview-thinking | 1000.0K | 输入 0.002, 输出 0.012 | 13% | 输入 0.002, 输出 0.012 |
| Google | gemini-3-pro-preview | 1000.0K | 输入 0.002, 输出 0.012 | 13% | 输入 0.002, 输出 0.012 |
| Google | gemini-2.5-pro-thinking | 1000.0K | 输入 0.00125, 输出 0.01 | 13% | 输入 0.00125, 输出 0.01 |
| Google | gemini-2.5-pro-studio | 1000.0K | 输入 0.000625, 输出 0.005 | 6% | 输入 0.00125, 输出 0.01 |
| Google | gemini-2.5-pro-preview-06-05 | 1000.0K | 输入 0.00125, 输出 0.01 | 13% | 输入 0.00125, 输出 0.01 |
| Google | gemini-2.5-pro-preview-05-06 | 1000.0K | 输入 0.00125, 输出 0.01 | 13% | 输入 0.00125, 输出 0.01 |
| Google | gemini-2.5-pro-preview-03-25 | 1000.0K | 输入 0.00125, 输出 0.01 | 13% | 输入 0.00125, 输出 0.01 |
| Google | gemini-2.5-pro-official | 800.0K | 输入 0.00075, 输出 0.006 | 8% | 输入 0.00125, 输出 0.01 |
| Google | gemini-2.5-pro-exp-03-25 | 1000.0K | 输入 0.001875, 输出 0.015 | 20% | 输入 0.00125, 输出 0.01 |
| Google | gemini-2.5-pro | 1000.0K | 输入 0.00125, 输出 0.01 | 13% | 输入 0.00125, 输出 0.01 |
| Google | gemini-2.5-flash-preview-09-2025 | 1000.0K | 输入 0.00015, 输出 0.0006 | 13% | 输入 0.00015, 输出 0.0006 |
| Google | gemini-2.5-flash-preview-05-20 | 1000.0K | 输入 0.00015, 输出 0.0006 | 13% | 输入 0.00015, 输出 0.0006 |
| Google | gemini-2.5-flash-preview-04-17 | 1000.0K | 输入 0.00015, 输出 0.0006 | 13% | 输入 0.00015, 输出 0.0006 |
| Google | gemini-2.5-flash | 1000.0K | 输入 0.00015, 输出 0.0006 | 13% | 输入 0.00015, 输出 0.0006 |
| Google | gemini-2.0-pro-exp | 1024.0K | 输入 0.003, 输出 0.012 | 32% | 输入 0.005, 输出 0.005 |
| Google | gemini-2.0-flash-thinking-exp | 1024.0K | 输入 0.003, 输出 0.012 | 32% | 输入 0.005, 输出 0.005 |
| Google | gemini-2.0-flash-exp | 1024.0K | 输入 0.003, 输出 0.012 | 32% | 输入 0.005, 输出 0.005 |
| Google | gemini-2.0-flash | 1024.0K | 输入 0.0001, 输出 0.0004 | 13% | 输入 0.0001, 输出 0.0004 |
| Google | gemini-3-pro-image-preview | 256.0K | 输入 0.2, 输出 0.2 | 6% | 输入 0.4, 输出 0.4 |
| Google | gemini-2.5-flash-image-preview | 32.0K | 输入 0.1, 输出 0.1 | 6% | 输入 0.2, 输出 0.2 |
| Kimi | kimi-k2-thinking | 192.0K | 输入 0.0011, 输出 0.00438 | 27% | 输入 0.00055, 输出 0.00219 |
| MiniMax | minimax-m2 | 192.0K | 输入 0.0011, 输出 0.00438 | 27% | 输入 0.00055, 输出 0.00219 |
| OpenAI | sora-2-pro | NoneK | 输入 3, 输出 3 | 8% | 输入 5, 输出 5 |
| OpenAI | sora_video2 | NoneK | 输入 0.5, 输出 0.5 | 2% | 输入 3, 输出 3 |
| OpenAI | reverse-gpt-4o-mini-free | 8.0K | 输入 0.001, 输出 0.001 | 13% | 输入 0.001, 输出 0.001 |
| OpenAI | reverse-gpt-4o-free | 8.0K | 输入 0.001, 输出 0.001 | 13% | 输入 0.001, 输出 0.001 |
| OpenAI | o4-mini | 128.0K | 输入 0.0011, 输出 0.0044 | 13% | 输入 0.0011, 输出 0.0044 |
| OpenAI | o3-mini-high | 128.0K | 输入 0.0011, 输出 0.0044 | 13% | 输入 0.0011, 输出 0.0044 |
| OpenAI | o3-mini-2025-01-31 | 128.0K | 输入 0.0011, 输出 0.0044 | 13% | 输入 0.0011, 输出 0.0044 |
| OpenAI | o3-mini | 128.0K | 输入 0.0011, 输出 0.0044 | 13% | 输入 0.0011, 输出 0.0044 |
| OpenAI | o3-2025-04-16 | 128.0K | 输入 0.004, 输出 0.016 | 27% | 输入 0.002, 输出 0.008 |
| OpenAI | o3 | 128.0K | 输入 0.004, 输出 0.016 | 27% | 输入 0.002, 输出 0.008 |
| OpenAI | o1-preview-2024-09-12 | 128.0K | 输入 0.045, 输出 0.18 | 41% | 输入 0.015, 输出 0.06 |
| OpenAI | o1-preview | 128.0K | 输入 0.045, 输出 0.18 | 41% | 输入 0.015, 输出 0.06 |
| OpenAI | o1-2024-12-17 | 128.0K | 输入 0.015, 输出 0.06 | 13% | 输入 0.015, 输出 0.06 |
| OpenAI | horizon-beta | 256.0K | 输入 0.01, 输出 0.01 | 1% | 输入 0.1, 输出 0.1 |
| OpenAI | gpt-oss-120b | 128.0K | 输入 0.00015, 输出 0.0006 | 13% | 输入 0.00015, 输出 0.0006 |
| OpenAI | gpt-5.1-medium | 1000.0K | 输入 0.004, 输出 0.016 | 27% | 输入 0.002, 输出 0.008 |
| OpenAI | gpt-5-codex | 1000.0K | 输入 0.0025, 输出 0.02 | 27% | 输入 0.00125, 输出 0.01 |
| OpenAI | gpt-5-chat-latest | 1000.0K | 输入 0.004, 输出 0.016 | 27% | 输入 0.002, 输出 0.008 |
| OpenAI | gpt-5-mini | 1000.0K | 输入 0.0005, 输出 0.004 | 27% | 输入 0.00025, 输出 0.002 |
| OpenAI | gpt-5 | 1000.0K | 输入 0.0025, 输出 0.02 | 27% | 输入 0.00125, 输出 0.01 |
| OpenAI | gpt-4o-mini-free | 8.0K | 输入 0.00001, 输出 0.00001 | 0% | 输入 0.00015, 输出 0.0006 |
| OpenAI | gpt-4o-mini-2024-07-18 | 128.0K | 输入 0.0003, 输出 0.0012 | 27% | 输入 0.00015, 输出 0.0006 |
| OpenAI | gpt-4o-mini | 128.0K | 输入 0.0003, 输出 0.0012 | 27% | 输入 0.00015, 输出 0.0006 |
| OpenAI | gpt-4o-free | 8.0K | 输入 0.00001, 输出 0.00001 | 13% | 输入 0.00001, 输出 0.00001 |
| OpenAI | gpt-4o-2024-11-20 | 128.0K | 输入 0.005, 输出 0.02 | 27% | 输入 0.0025, 输出 0.01 |
| OpenAI | gpt-4o-2024-08-06 | 128.0K | 输入 0.005, 输出 0.02 | 27% | 输入 0.0025, 输出 0.01 |
| OpenAI | gpt-4o-2024-05-13 | 128.0K | 输入 0.01, 输出 0.03 | 27% | 输入 0.005, 输出 0.015 |
| OpenAI | gpt-4o-2024-11-20 | 128.0K | 输入 0.005, 输出 0.02 | 27% | 输入 0.0025, 输出 0.01 |
| OpenAI | gpt-4.5-preview | 128.0K | 输入 0.15, 输出 0.3 | 27% | 输入 0.075, 输出 0.15 |
| OpenAI | gpt-4.1-nano | 1000.0K | 输入 0.0002, 输出 0.0008 | 27% | 输入 0.0001, 输出 0.0004 |
| OpenAI | gpt-4.1-nano-2025-04-14 | 1000.0K | 输入 0.0002, 输出 0.0008 | 27% | 输入 0.0001, 输出 0.0004 |
| OpenAI | gpt-4.1-mini | 1000.0K | 输入 0.0008, 输出 0.0032 | 27% | 输入 0.0004, 输出 0.0016 |
| OpenAI | gpt-4.1-mini-2025-04-14 | 1000.0K | 输入 0.0008, 输出 0.0032 | 27% | 输入 0.0004, 输出 0.0016 |
| OpenAI | gpt-4.1 | 1000.0K | 输入 0.004, 输出 0.016 | 27% | 输入 0.002, 输出 0.008 |
| OpenAI | gpt-4.1-2025-04-14 | 1000.0K | 输入 0.004, 输出 0.016 | 27% | 输入 0.002, 输出 0.008 |
| OpenAI | gpt-4-turbo-preview | 128.0K | 输入 0.02, 输出 0.06 | 27% | 输入 0.01, 输出 0.03 |
| OpenAI | gpt-4-turbo-2024-04-09 | 128.0K | 输入 0.02, 输出 0.06 | 27% | 输入 0.01, 输出 0.03 |
| OpenAI | gpt-4-turbo | 128.0K | 输入 0.02, 输出 0.06 | 27% | 输入 0.01, 输出 0.03 |
| OpenAI | gpt-4-32k | 32.0K | 输入 0.12, 输出 0.24 | 27% | 输入 0.06, 输出 0.12 |
| OpenAI | gpt-4-1106-preview | 128.0K | 输入 0.02, 输出 0.06 | 27% | 输入 0.01, 输出 0.03 |
| OpenAI | gpt-4-0613 | 8.0K | 输入 0.06, 输出 0.12 | 27% | 输入 0.03, 输出 0.06 |
| OpenAI | gpt-4-0125-preview | 128.0K | 输入 0.02, 输出 0.06 | 27% | 输入 0.01, 输出 0.03 |
| OpenAI | gpt-4 | 8.0K | 输入 0.045, 输出 0.09 | 20% | 输入 0.03, 输出 0.06 |
| OpenAI | gpt-3.5-turbo-0125 | 16.0K | 输入 0.001, 输出 0.002 | 18% | 输入 0.0005, 输出 0.0015 |
| OpenAI | gpt-3.5-turbo | 16.0K | 输入 0.001, 输出 0.002 | 18% | 输入 0.0005, 输出 0.0015 |
| x.ai | grok-4-1-thinking | 256.0K | 输入 0.003, 输出 0.015 | 13% | 输入 0.003, 输出 0.015 |
| x.ai | grok-4-1 | 256.0K | 输入 0.003, 输出 0.015 | 13% | 输入 0.003, 输出 0.015 |
| x.ai | grok-4-fast | 2000.0K | 输入 0.0002, 输出 0.0005 | 13% | 输入 0.0002, 输出 0.0005 |
| x.ai | grok-4 | 256.0K | 输入 0.003, 输出 0.015 | 13% | 输入 0.003, 输出 0.015 |
| x.ai | grok-3-r1 | 150.0K | 输入 0.0012, 输出 0.006 | 8% | 输入 0.002, 输出 0.01 |
| x.ai | grok-3-deepsearch | 150.0K | 输入 0.0012, 输出 0.006 | 8% | 输入 0.002, 输出 0.01 |
| x.ai | grok-3-deepersearch | 150.0K | 输入 0.0012, 输出 0.006 | 8% | 输入 0.002, 输出 0.01 |
| x.ai | grok-3-beta | 128.0K | 输入 0.003, 输出 0.015 | 13% | 输入 0.003, 输出 0.015 |
| x.ai | grok-3-reason | 150.0K | 输入 0.0012, 输出 0.006 | 8% | 输入 0.002, 输出 0.01 |
| x.ai | grok-3 | 150.0K | 输入 0.0012, 输出 0.006 | 5% | 输入 0.003, 输出 0.015 |