Repository navigation
[doubleword] Add Doubleword AI pricing - #1011
Open
adarshsingh705 wants to merge 1 commit into
Open
adarshsingh705 wants to merge 1 commit into
adarshsingh705 wants to merge 1 commit into
Conversation
Add pricing/doubleword.json with 18 models from the official pricing docs: Realtime rates as pay_as_you_go, Batch (24h) rates as batch_config. Fixes Portkey-AI#30
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 a new provider file
pricing/doubleword.jsonfor Doubleword AI with the 18 currently listed models. Models scheduled for shutdown on 30 Oct 2026 are not included.pay_as_you_gobatch_configcache_write_input_token= 1.25× standard input. This is the explicit 5-minute cache write rate from the prompt-caching guide. Implicit caching never bills writes.lightonai/LightOnOCR-2-1B-bbox-souphas no Realtime price on the official page, so it only hasbatch_config.custom_pricing.execution_modesif you prefer.defaultentry has zero prices and"currency": "USD", with the same structure as the default inanthropic.json.Note: the issue mentions a 1-hour SLA, but the pricing page currently lists only Realtime, Async and Batch (24h). The gateway has no
doublewordprovider yet, so this data is ready for when one is added.Source Verification
Source Link: https://docs.doubleword.ai/batches/model-pricing
Per-model pages (model IDs): https://docs.doubleword.ai/inference-api/models
Cache write pricing: https://docs.doubleword.ai/inference-api/prompt-caching
Conversion (cents per token = $/1M ÷ 1,000,000 × 100)
deepseek-ai/DeepSeek-V4.1-Flash-10170.0000150.0000010.000060.00001875deepseek-ai/DeepSeek-V4.1-Flash-10170.0000080.0000010.00003meta/muse-spark-open0.0001250.0000150.0004250.00015625meta/muse-spark-open0.0001250.0000150.000425deepseek-ai/DeepSeek-V4.1-Flash0.0000150.0000010.000060.00001875deepseek-ai/DeepSeek-V4.1-Flash0.0000080.0000010.00003zai-org/GLM-5.3-Flash0.0000150.0000030.000050.00001875zai-org/GLM-5.3-Flash0.0000080.0000020.000025zai-org/GLM-5.30.000140.0000280.000440.000175zai-org/GLM-5.30.000070.0000140.00022Qwen/Qwen3.8-27B-FP80.0000450.0000040.00030.00005625Qwen/Qwen3.8-27B-FP80.0000250.0000020.00015deepseek-ai/DeepSeek-V4-Pro-08130.0001320.0000130.0003960.000165deepseek-ai/DeepSeek-V4-Pro-08130.0000660.0000070.000198meta-models/Muse-Glimmer-30B0.0000110.0000010.0000320.00001375meta-models/Muse-Glimmer-30B0.0000050.0000010.000015deepseek-ai/DeepSeek-V4-Flash-07310.0000090.0000020.0000180.00001125deepseek-ai/DeepSeek-V4-Flash-07310.0000050.0000010.000009moonshotai/kimi-k30.00030.000030.00150.000375moonshotai/kimi-k30.000150.0000150.00075zai-org/GLM-5.2-FP80.0000930.0000190.00030.00011625zai-org/GLM-5.2-FP80.0000470.0000090.00015nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP40.000050.0000130.000220.0000625nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP40.0000250.0000060.00011Qwen/Qwen3.6-35B-A3B-FP80.0000140.0000140.00010.0000175Qwen/Qwen3.6-35B-A3B-FP80.0000070.0000070.00005google/gemma-4-31B-it0.0000120.0000120.0000350.000015google/gemma-4-31B-it0.0000060.0000060.000018Qwen/Qwen3.5-35B-A3B-FP8-dottxt0.0000350.000020.000120.00004375Qwen/Qwen3.5-35B-A3B-FP8-dottxt0.000010.0000060.00004lightonai/LightOnOCR-2-1B-bbox-souplightonai/LightOnOCR-2-1B-bbox-soup0.0000050.0000050.000005Qwen/Qwen3-VL-235B-A22B-Instruct-FP80.0000210.0000120.000190.00002625Qwen/Qwen3-VL-235B-A22B-Instruct-FP80.0000110.0000060.000095Qwen/Qwen3-Embedding-8B0.0000040.00000400.000005Qwen/Qwen3-Embedding-8B0.0000020.0000020Checklist
jqor an online validatorRelated Issue
Fixes #30