Repository navigation
Conversation
Adds pricing/frequency.json and general/frequency.json for Frequency, an OpenAI-compatible inference provider (https://llm.scalefrequency.com/v2). google/gemma-4-26b-a4b-it, plus its mira-llm alias: $0.15 input, $0.093 cached input, $0.55 output per 1M tokens, stored as cents per token. Replies are capped at 1,024 tokens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 of 9 tasks
Frequency raised its reply ceiling for every key from 1,024 to 8,192 tokens (https://docs.miraiminds.co/v2/llm#limits). Default stays 400. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds pricing and model configs for Frequency (
frequency), a voice-first, India-first, low-latency inference provider. Inference runs in India, behind an OpenAI-compatible API athttps://llm.scalefrequency.com/v2.Disclosure: I work on Frequency, so this is the provider adding itself.
Companion gateway PR: Portkey-AI/gateway#1872
Files
pricing/frequency.json: pay-as-you-go rates. Thedefaultentry has zero prices and a calculate block that billscache_read_tokensat the cached rate, in the same shape asnovita-ai.jsonandmoonshot.json.general/frequency.json: params, themax_tokensceiling and capability flags.Pricing
Prices are in cents per token (USD per 1M ÷ 10,000):
google/gemma-4-26b-a4b-it0.0000150.00000930.000055mira-llmgets the same rates. It is the API's name for the same model, it is accepted as a requestmodel, and the docs say responses reportmodel: "mira-llm", so pricing it keeps cost tracking right whichever id a log carries. Ingeneral/I listed onlygoogle/gemma-4-26b-a4b-itso the model picker doesn't show the same model twice.Model config
Chat with tool calling. Text only, so no
imageflag. Context is 32,768 tokens. The values below come from the docs' parameter table and the limits for a key a user creates themselves (https://docs.miraiminds.co/v2/llm#limits):max_tokens: up to 8,192 (400 when unset). The API lowers anything larger to 8,192.temperature: 0 to 1.5 (default 0.3);top_p0 to 1;top_k0 to 1,000 (0 = off);frequency_penaltyandpresence_penalty-2 to 2.response_format:json_objectandjson_schema.Source Verification
Source Link: https://scalefrequency.com/pricing
Rates are also listed in the API docs: https://docs.miraiminds.co/v2/llm (limits: https://docs.miraiminds.co/v2/llm#limits)
Checklist
jqor an online validatorChecks run locally:
jq emptyon both files,python3 scripts/check_duplicate_keys.py(no duplicates),prettier@2.8.8 --checkandeslint --ext .jsonon both files, andnode scripts/sync-to-gateway.jsagainst a scratch directory (frequency.jsonpasses the pricing schema check). I also converted each price back to USD per 1M to confirm the values.Related Issue
None.
🤖 Generated with Claude Code