
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 CodeModel 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
| Provider | Model Name | Context | Credit Price | Discount | Official Price (USD) |
|---|---|---|---|---|---|
| Anthropic | claude-sonnet-4-20250514-thinking | 200.0K | Input 0.024, Output 0.12 | 109% | Input 0.003, Output 0.015 |
| Anthropic | claude-sonnet-4-20250514-t | 200.0K | Input 0.009, Output 0.045 | 41% | Input 0.003, Output 0.015 |
| Anthropic | claude-sonnet-4-20250514 | 200.0K | Input 0.024, Output 0.12 | 109% | Input 0.003, Output 0.015 |
| Anthropic | claude-opus-4-1-20250805 | 200.0K | Input 0.135, Output 0.675 | 123% | Input 0.015, Output 0.075 |
| Anthropic | claude-opus-4-20250514-thinking | 200.0K | Input 0.135, Output 0.675 | 123% | Input 0.015, Output 0.075 |
| Anthropic | claude-opus-4-20250514-t | 200.0K | Input 0.045, Output 0.225 | 41% | Input 0.015, Output 0.075 |
| Anthropic | claude-opus-4-20250514 | 200.0K | Input 0.135, Output 0.675 | 123% | Input 0.015, Output 0.075 |
| Anthropic | claude-sonnet-4-5-20250929-thinking | 200.0K | Input 0.024, Output 0.12 | 109% | Input 0.003, Output 0.015 |
| Anthropic | claude-sonnet-4-5-20250929 | 200.0K | Input 0.024, Output 0.12 | 109% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-7-sonnet-20250219-thinking | 200.0K | Input 0.024, Output 0.12 | 109% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-7-sonnet-20250219-t | 200.0K | Input 0.009, Output 0.045 | 41% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-7-sonnet-20250219 | 200.0K | Input 0.024, Output 0.12 | 109% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-5-sonnet-20241022-t | 200.0K | Input 0.003, Output 0.015 | 13% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-5-sonnet-20241022 | 200.0K | Input 0.027, Output 0.135 | 123% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-5-sonnet-latest | 200.0K | Input 0.0165, Output 0.0825 | 75% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-5-sonnet-20240620 | 200.0K | Input 0.027, Output 0.135 | 123% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-5-haiku-20241022 | 200.0K | Input 0.004, Output 0.02 | 54% | Input 0.001, Output 0.005 |
| Anthropic | claude-3-haiku-20240307 | 200.0K | Input 0.0075, Output 0.0375 | 102% | Input 0.001, Output 0.005 |
| Anthropic | claude-3-sonnet-20240229 | 200.0K | Input 0.012, Output 0.06 | 54% | Input 0.003, Output 0.015 |
| Anthropic | claude-3-opus-20240229 | 200.0K | Input 0.135, Output 0.675 | 123% | Input 0.015, Output 0.075 |
| Anthropic | claude-2.1 | 200.0K | Input 0.06, Output 0.18 | 102% | Input 0.008, Output 0.024 |
| Anthropic | claude-2.0 | 200.0K | Input 0.06, Output 0.18 | 102% | Input 0.008, Output 0.024 |
| Anthropic | claude-2 | 200.0K | Input 0.06, Output 0.18 | 102% | Input 0.008, Output 0.024 |
| DeepSeek | deepseek-v3.2-exp | 128.0K | Input 0.0011, Output 0.0016 | 52% | Input 0.00028, Output 0.00042 |
| DeepSeek | deepseek-v3.1 | 128.0K | Input 0.0011, Output 0.0046 | 57% | Input 0.00027, Output 0.0011 |
| DeepSeek | deepseek-v3-0324 | 128.0K | Input 0.0011, Output 0.0046 | 57% | Input 0.00027, Output 0.0011 |
| DeepSeek | deepseek-v3 | 128.0K | Input 0.00125, Output 0.0025 | 31% | Input 0.00027, Output 0.0011 |
| DeepSeek | deepseek-r1-distill-llama-70b | 128.0K | Input 0.003, Output 0.006 | 37% | Input 0.00055, Output 0.00219 |
| DeepSeek | deepseek-r1-0528 | 128.0K | Input 0.00231, Output 0.0092 | 57% | Input 0.00055, Output 0.00219 |
| DeepSeek | deepseek-r1 | 128.0K | Input 0.00231, Output 0.0092 | 57% | Input 0.00055, Output 0.00219 |
| imagen-4.0-ultra-generate-preview-06-06 | 100.0K | Input 0.2, Output 0.2 | 2% | Input 1, Output 1 | |
| imagen-4.0-generate-preview-06-06 | 100.0K | Input 0.1, Output 0.1 | 1% | Input 1, Output 1 | |
| gemini-exp-1206 | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-exp-1121 | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-exp-1114 | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-3-pro-preview-11-2025 | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-thinking | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-studio | 1000.0K | Input 0.000625, Output 0.005 | 6% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-preview-06-05 | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-preview-05-06 | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-preview-03-25 | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-official | 800.0K | Input 0.00075, Output 0.006 | 8% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-exp-03-25 | 1000.0K | Input 0.001875, Output 0.015 | 20% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-flash-preview-09-2025 | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash-preview-05-20 | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash-preview-04-17 | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.0-pro-exp | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-2.0-flash-thinking-exp | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-2.0-flash-exp | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-2.0-flash | 1024.0K | Input 0.0001, Output 0.0004 | 13% | Input 0.0001, Output 0.0004 | |
| gemini-2.5-flash-image-preview | 32.0K | Input 0.1, Output 0.1 | 6% | Input 0.2, Output 0.2 | |
| MiniMax | minimax-m2 | 192.0K | Input 0.0011, Output 0.00438 | 27% | Input 0.00055, Output 0.00219 |
| OpenAI | sora-2-pro | NoneK | Input 3, Output 3 | 8% | Input 5, Output 5 |
| OpenAI | sora_video2 | NoneK | Input 0.5, Output 0.5 | 2% | Input 3, Output 3 |
| OpenAI | reverse-gpt-4o-mini-free | 8.0K | Input 0.001, Output 0.001 | 13% | Input 0.001, Output 0.001 |
| OpenAI | reverse-gpt-4o-free | 8.0K | Input 0.001, Output 0.001 | 13% | Input 0.001, Output 0.001 |
| OpenAI | o4-mini | 128.0K | Input 0.0011, Output 0.0044 | 13% | Input 0.0011, Output 0.0044 |
| OpenAI | o3-mini-high | 128.0K | Input 0.0011, Output 0.0044 | 13% | Input 0.0011, Output 0.0044 |
| OpenAI | o3-mini | 128.0K | Input 0.0011, Output 0.0044 | 13% | Input 0.0011, Output 0.0044 |
| OpenAI | o3-mini-2025-01-31 | 128.0K | Input 0.0011, Output 0.0044 | 13% | Input 0.0011, Output 0.0044 |
| OpenAI | o3-2025-04-16 | 128.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | o3 | 128.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | o1-preview-2024-09-12 | 128.0K | Input 0.045, Output 0.18 | 41% | Input 0.015, Output 0.06 |
| OpenAI | o1-preview | 128.0K | Input 0.045, Output 0.18 | 41% | Input 0.015, Output 0.06 |
| OpenAI | o1-2024-12-17 | 128.0K | Input 0.015, Output 0.06 | 13% | Input 0.015, Output 0.06 |
| OpenAI | horizon-beta | 256.0K | Input 0.01, Output 0.01 | 1% | Input 0.1, Output 0.1 |
| OpenAI | gpt-oss-120b | 128.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 |
| OpenAI | gpt-5-codex | 1000.0K | Input 0.0025, Output 0.02 | 27% | Input 0.00125, Output 0.01 |
| OpenAI | gpt-5-chat-latest | 1000.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | gpt-5-mini | 1000.0K | Input 0.0005, Output 0.004 | 27% | Input 0.00025, Output 0.002 |
| OpenAI | gpt-5 | 1000.0K | Input 0.0025, Output 0.02 | 27% | Input 0.00125, Output 0.01 |
| OpenAI | gpt-4o-mini-free | 8.0K | Input 0.00001, Output 0.00001 | 0% | Input 0.00015, Output 0.0006 |
| OpenAI | gpt-4o-mini-2024-07-18 | 128.0K | Input 0.0003, Output 0.0012 | 27% | Input 0.00015, Output 0.0006 |
| OpenAI | gpt-4o-mini | 128.0K | Input 0.0003, Output 0.0012 | 27% | Input 0.00015, Output 0.0006 |
| OpenAI | gpt-4o-free | 8.0K | Input 0.00001, Output 0.00001 | 13% | Input 0.00001, Output 0.00001 |
| OpenAI | gpt-4o-2024-11-20 | 128.0K | Input 0.005, Output 0.02 | 27% | Input 0.0025, Output 0.01 |
| OpenAI | gpt-4o-2024-08-06 | 128.0K | Input 0.005, Output 0.02 | 27% | Input 0.0025, Output 0.01 |
| OpenAI | gpt-4o-2024-05-13 | 128.0K | Input 0.01, Output 0.03 | 27% | Input 0.005, Output 0.015 |
| OpenAI | gpt-4o-2024-11-20 | 128.0K | Input 0.005, Output 0.02 | 27% | Input 0.0025, Output 0.01 |
| OpenAI | gpt-4.5-preview | 128.0K | Input 0.15, Output 0.3 | 27% | Input 0.075, Output 0.15 |
| OpenAI | gpt-4.1-nano-2025-04-14 | 1000.0K | Input 0.0002, Output 0.0008 | 27% | Input 0.0001, Output 0.0004 |
| OpenAI | gpt-4.1-nano | 1000.0K | Input 0.0002, Output 0.0008 | 27% | Input 0.0001, Output 0.0004 |
| OpenAI | gpt-4.1-mini-2025-04-14 | 1000.0K | Input 0.0008, Output 0.0032 | 27% | Input 0.0004, Output 0.0016 |
| OpenAI | gpt-4.1-mini | 1000.0K | Input 0.0008, Output 0.0032 | 27% | Input 0.0004, Output 0.0016 |
| OpenAI | gpt-4.1-2025-04-14 | 1000.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | gpt-4.1 | 1000.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | gpt-4-turbo-preview | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4-turbo-2024-04-09 | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4-turbo | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4-32k | 32.0K | Input 0.12, Output 0.24 | 27% | Input 0.06, Output 0.12 |
| OpenAI | gpt-4-1106-preview | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4-0613 | 8.0K | Input 0.06, Output 0.12 | 27% | Input 0.03, Output 0.06 |
| OpenAI | gpt-4-0125-preview | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4 | 8.0K | Input 0.045, Output 0.09 | 20% | Input 0.03, Output 0.06 |
| OpenAI | gpt-3.5-turbo-0125 | 16.0K | Input 0.001, Output 0.002 | 18% | Input 0.0005, Output 0.0015 |
| OpenAI | gpt-3.5-turbo | 16.0K | Input 0.001, Output 0.002 | 18% | Input 0.0005, Output 0.0015 |
| x.ai | grok-4-fast | 2000.0K | Input 0.0002, Output 0.0005 | 13% | Input 0.0002, Output 0.0005 |
| x.ai | grok-4 | 256.0K | Input 0.003, Output 0.015 | 13% | Input 0.003, Output 0.015 |
| x.ai | grok-3-r1 | 150.0K | Input 0.0012, Output 0.006 | 8% | Input 0.002, Output 0.01 |
| x.ai | grok-3-deepsearch | 150.0K | Input 0.0012, Output 0.006 | 8% | Input 0.002, Output 0.01 |
| x.ai | grok-3-deepersearch | 150.0K | Input 0.0012, Output 0.006 | 8% | Input 0.002, Output 0.01 |
| x.ai | grok-3-beta | 128.0K | Input 0.003, Output 0.015 | 13% | Input 0.003, Output 0.015 |
| x.ai | grok-3-reason | 150.0K | Input 0.0012, Output 0.006 | 8% | Input 0.002, Output 0.01 |
| x.ai | grok-3 | 150.0K | Input 0.0012, Output 0.006 | 5% | Input 0.003, Output 0.015 |