管理接口系统
获取定价信息
🔓 无需鉴权(可选登录)
Response Body
application/json
curl -X GET "https://tokease.cn/api/pricing"{
"success": true,
"blur_pricing": true,
"heat_stat_period": "7d",
"hot_model_limit": 0,
"pricing_version": "string",
"data": [
{
"model_name": "string",
"description": "string",
"description_en": "string",
"doc_introduction": "string",
"doc_introduction_en": "string",
"api_docs": null,
"icon": "string",
"tags": "string",
"vendor_id": 0,
"owner_by": "string",
"quota_type": 0,
"model_ratio": 0,
"model_price": 0,
"completion_ratio": 0,
"cache_ratio": 0,
"create_cache_ratio": 0,
"create_cache_5m_ratio": 0,
"create_cache_1h_ratio": 0,
"create_cache_ttl_ratio": {
"property1": 0,
"property2": 0
},
"request_tier_pricing": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
},
"image_ratio": 0,
"audio_ratio": 0,
"audio_completion_ratio": 0,
"video_ratio": 0,
"video_completion_ratio": 0,
"video_price": 0,
"asr_price": 0,
"tts_price": 0,
"enable_groups": [
"string"
],
"supported_endpoint_types": [
"string"
],
"pricing_version": "string",
"supplier_list": [
{
"supplier_id": 0,
"supplier_alias": "string",
"company_logo_url": "string",
"supplier_type": "string"
}
],
"channel_list": [
{
"channel_id": 0,
"supplier_application_id": 0,
"channel_no": "string",
"supplier_alias": "string",
"company_logo_url": "string",
"supplier_type": "string",
"doc_introduction": "string",
"doc_introduction_en": "string",
"api_docs": null,
"api_docs_markdown": "string",
"api_docs_markdown_en": "string",
"doc_configured": true,
"route_slug": "string",
"test_response_time_ms": 0,
"quota_type": 0,
"model_price": 0,
"model_ratio": 0,
"completion_ratio": 0,
"cache_ratio": 0,
"create_cache_ratio": 0,
"create_cache_5m_ratio": 0,
"create_cache_1h_ratio": 0,
"create_cache_ttl_ratio": {
"property1": 0,
"property2": 0
},
"request_tier_pricing": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
},
"price_discount_percent": 0,
"raw_price_discount_percent": 0,
"operating_cost_percent": 0,
"markup_discount_rate": 0,
"precise_discount_display": true,
"time_pricing": {
"has_schedules": true,
"active": true,
"timezone": "string",
"regular_pricing": {
"model_price": 0,
"model_ratio": 0,
"completion_ratio": 0,
"cache_ratio": 0,
"create_cache_ratio": 0,
"create_cache_5m_ratio": 0,
"create_cache_1h_ratio": 0,
"create_cache_ttl_ratio": {
"property1": 0,
"property2": 0
},
"request_tier_pricing": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
},
"quota_type": 0,
"image_ratio": 0,
"image_price": 0,
"audio_ratio": 0,
"audio_completion_ratio": 0,
"video_ratio": 0,
"video_completion_ratio": 0,
"video_price": 0,
"asr_price": 0,
"tts_price": 0,
"video_flat_clip_hint": {
"min_usd_after_channel_discount": 0,
"resolution": "string",
"has_audio": true,
"lane": "string",
"tier_count": 0,
"billing_mode": "string",
"tiers": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"has_audio": true,
"lane": "string"
}
],
"upscale_tiers": [
{
"resolution": "string",
"usd_after_channel_discount": 0
}
]
},
"image_per_image_hint": {
"min_usd_after_channel_discount": 0,
"resolution": "string",
"lane": "string",
"tier_count": 0,
"tiers": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"lane": "string"
}
]
},
"video_material_hint": {
"image": {
"usd_after_channel_discount": 0,
"usd_official": 0,
"free_count": 0
},
"input_video": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"has_audio": true
}
]
}
},
"regular_rates": {
"price_discount_percent": 0,
"effective_cost_percent": 0,
"operating_cost_percent": 0,
"markup_discount_rate": 0
},
"active_schedule_id": 0,
"active_schedule_name": "string",
"active_plan_id": 0,
"active_plan_name": "string",
"active_plan_version": 0,
"schedules": [
{
"id": 0,
"name": "string",
"weekdays": 0,
"start_minute": 0,
"end_minute": 0,
"effective_from": "string",
"effective_to": "string",
"active": true,
"plan_id": 0,
"plan_name": "string",
"plan_version": 0,
"mode": "price",
"pricing": {
"model_price": 0,
"model_ratio": 0,
"completion_ratio": 0,
"cache_ratio": 0,
"create_cache_ratio": 0,
"create_cache_5m_ratio": 0,
"create_cache_1h_ratio": 0,
"create_cache_ttl_ratio": {
"property1": 0,
"property2": 0
},
"request_tier_pricing": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
},
"quota_type": 0,
"image_ratio": 0,
"image_price": 0,
"audio_ratio": 0,
"audio_completion_ratio": 0,
"video_ratio": 0,
"video_completion_ratio": 0,
"video_price": 0,
"asr_price": 0,
"tts_price": 0,
"video_flat_clip_hint": {
"min_usd_after_channel_discount": 0,
"resolution": "string",
"has_audio": true,
"lane": "string",
"tier_count": 0,
"billing_mode": "string",
"tiers": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"has_audio": true,
"lane": "string"
}
],
"upscale_tiers": [
{
"resolution": "string",
"usd_after_channel_discount": 0
}
]
},
"image_per_image_hint": {
"min_usd_after_channel_discount": 0,
"resolution": "string",
"lane": "string",
"tier_count": 0,
"tiers": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"lane": "string"
}
]
},
"video_material_hint": {
"image": {
"usd_after_channel_discount": 0,
"usd_official": 0,
"free_count": 0
},
"input_video": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"has_audio": true
}
]
}
},
"rates": {
"price_discount_percent": 0,
"effective_cost_percent": 0,
"operating_cost_percent": 0,
"markup_discount_rate": 0
}
}
]
},
"free_event": {
"id": "string",
"name": "string",
"enabled": true,
"starts_at": 0,
"ends_at": 0,
"user_rpm": 0,
"user_tpm": 0,
"user_concurrency": 0,
"user_total_tokens": 0,
"require_top_up": true,
"min_top_up_quota": 0,
"allow_paid_fallback": true
},
"sort_weight": 0,
"manual_base_req_count": 0,
"auto_req_count": 0,
"final_req_count": 0,
"channel_heat_score": 0,
"hot_override": "force_hot",
"hot_manual_rank": 0
}
],
"video_flat_clip_hint": {
"min_usd_after_channel_discount": 0,
"resolution": "string",
"has_audio": true,
"lane": "string",
"tier_count": 0,
"billing_mode": "string",
"tiers": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"has_audio": true,
"lane": "string"
}
],
"upscale_tiers": [
{
"resolution": "string",
"usd_after_channel_discount": 0
}
]
},
"image_per_image_hint": {
"min_usd_after_channel_discount": 0,
"resolution": "string",
"lane": "string",
"tier_count": 0,
"tiers": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"lane": "string"
}
]
},
"video_material_hint": {
"image": {
"usd_after_channel_discount": 0,
"usd_official": 0,
"free_count": 0
},
"input_video": [
{
"usd_after_channel_discount": 0,
"usd_official": 0,
"resolution": "string",
"has_audio": true
}
]
}
}
],
"vendors": [
{
"id": 0,
"name": "string",
"name_en": "string",
"description": "string",
"icon": "string",
"status": 0,
"created_time": 0,
"updated_time": 0
}
],
"group_ratio": {
"property1": 0,
"property2": 0
},
"group_model_price": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"group_model_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"usable_group": {
"property1": "string",
"property2": "string"
},
"auto_groups": [
"string"
],
"supported_endpoint": {
"property1": {
"path": "string",
"method": "string"
},
"property2": {
"path": "string",
"method": "string"
}
},
"channel_model_price": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_model_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_completion_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_cache_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_create_cache_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_create_cache_5m_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_create_cache_1h_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_create_cache_ttl_ratio": {
"property1": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"property2": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
}
},
"channel_image_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_image_price": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_audio_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_audio_completion_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_video_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_video_completion_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"channel_video_price": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"model_request_tier_pricing": {
"property1": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
},
"property2": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
}
},
"channel_model_request_tier_pricing": {
"property1": {
"property1": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
},
"property2": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
}
},
"property2": {
"property1": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
},
"property2": {
"mode": "string",
"dimension": "string",
"boundary": "lt",
"currency": "USD",
"tiers": [
{
"up_to": 0,
"prices": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"cache_write_ttl": {
"property1": 0,
"property2": 0
},
"cache_write_5m": 0,
"cache_write_1h": 0
}
}
]
}
}
},
"supplier_model_price": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"supplier_model_ratio": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
}
}这篇文档对您有帮助吗?