feat(deepinfra): update model YAMLs [bot] - #2091
Conversation
|
/test-models |
Gateway test results
Failures (2)
ErrorCode snippetfrom openai import OpenAI
client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")
response = client.chat.completions.create(
model="test-v2-deepinfra/ByteDance-Seed-2.0-code",
messages=[
{"role": "user", "content": "List 3 colors with their hex codes in JSON."},
],
response_format={"type": "json_object"},
stream=True,
)
import json as _json
_accumulated = ""
for chunk in response:
if chunk.choices and len(chunk.choices) > 0:
delta = chunk.choices[0].delta
if delta.content is not None:
_accumulated += delta.content
print(delta.content, end="", flush=True)
if not _accumulated:
raise Exception("VALIDATION FAILED: json-output stream - no content received")
_json.loads(_accumulated)
print("\nVALIDATION: json-output stream SUCCESS")
ErrorCode snippetfrom openai import OpenAI
client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")
response = client.chat.completions.create(
model="test-v2-deepinfra/ByteDance-Seed-2.0-code",
messages=[
{"role": "user", "content": "List 3 colors with their hex codes in JSON."},
],
response_format={"type": "json_object"},
stream=False,
)
import json as _json
_content = response.choices[0].message.content
print(_content)
if not _content:
raise Exception("VALIDATION FAILED: json-output - response content is empty")
_json.loads(_content)
print("VALIDATION: json-output SUCCESS")Successes (8)
Output
Output
Output
Output
Output
Output
Output
OutputSkipped (2)
Skip reason
Skip reason |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 562a237. Configure here.
| output_cost_per_token: 3.7e-7 | ||
| - cache_read_input_token_cost: 5e-8 | ||
| input_cost_per_token: 9e-8 | ||
| output_cost_per_token: 3.4e-7 |
There was a problem hiding this comment.
Incorrect gemma turbo pricing
Medium Severity
Input/output costs were changed to 9e-8 / 3.4e-7 with a new cache-read rate, but DeepInfra still publishes standard turbo pricing as $0.12 / $0.37 per 1M tokens with no listed cache rate. Downstream billing based on this YAML would be wrong.
Reviewed by Cursor Bugbot for commit 562a237. Configure here.
| features: | ||
| - prompt_caching | ||
| - function_calling | ||
| - json_output |
|
Seed-2.0-code: |
|
/test-models |
|
/test-models |
|
/test-models |


Auto-generated by poc-agent for provider
deepinfra.Note
Low Risk
Configuration-only provider catalog changes with no runtime code; incorrect pricing or feature flags could mislead routing/cost estimates but scope is limited to metadata files.
Overview
Bot-synced DeepInfra provider model YAMLs to match current catalog data.
google/gemma-4-31B-it-turbopricing is revised (lower input/output token costs) andcache_read_input_token_costis added;json_outputis dropped from features.Meta-Llama-3.1-8B-InstructandNemotron-3-Nano-Omni-30B-A3B-Reasoningno longer includedeprecationDate, aligning them with active listings rather than a July 2026 deprecation.ByteDance/Seed-2.0-codeonly removes stale comments about structured/JSON output not being supported; capabilities in the file are unchanged.Reviewed by Cursor Bugbot for commit 45e7f9f. Bugbot is set up for automated code reviews on this repo. Configure here.