The decision to test
Choose an exact snapshot and endpoint. Score coding and multimodal tasks separately. Read current official prices rather than using an old headline rate as the complete cost.
Three criteria for this comparison
- Exact input formats and context needs
- Quality with an identical task rubric
- Thinking controls and time to a usable response
Run a fair comparison
Use the same representative inputs and a written answer rubric. Pin the model version and record the endpoint, thinking configuration, quantization when known, context length, output allowance and concurrency. Preserve native request differences in an adapter rather than silently dropping fields.
Measure full request time, error rate and reported usage. For tools, validate arguments and score the result after execution. For images, preserve resolution and preprocessing. A valid response format alone does not establish a correct answer.
Compare cost per accepted result
Calculate input cost plus all billed output, including reasoning where the provider counts it. Add retries and discarded answers. Divide the total by the number of results that pass your quality criteria. Keep API usage cost separate from deployment and engineering cost.
Estimate token costs with the API calculator →