---
title: "codegemma - Model Details & Comparison"
description: "codegemma from Ollama: capabilities, context limits, pricing, and side-by-side comparisons with alternative models."
url: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/ollama/codegemma"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/ollama/codegemma.md"
---

# codegemma - Model Details & Comparison

> codegemma from Ollama: capabilities, context limits, pricing, and side-by-side comparisons with alternative models.

## Important Links

- [View MCP Gateway](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources/mcp-gateway.md)
- [Features](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/#features)
- [Enterprise](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/enterprise)
- [Pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/pricing.md)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/book-a-demo)

## About codegemma

codegemma is a completion model from Ollama. It accepts up to 8K input tokens.

## Specifications

- **Ollama Provider.**
- **Completion Mode.**
- **8,192 Max Input Tokens.**
- **8,192 Max Output Tokens.**
- **8,192 Max Tokens.**
- **$0.0000 / 1M tokens Input Price.**
- **$0.0000 / 1M tokens Output Price.**

## Models to Compare

Alternatives to codegemma with comparable capabilities.

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| gpt-3.5-turbo-instruct-0914 | Azure Text | $1.50 | $2.00 |
| gpt-35-turbo-instruct | Azure Text | $1.50 | $2.00 |
| gpt-35-turbo-instruct-0914 | Azure Text | $1.50 | $2.00 |
| babbage-002 | Text-completion-openai | $0.40 | $0.40 |
| command | Cohere | $1.00 | $2.00 |

- [Compare gpt-3.5-turbo-instruct-0914](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure_text/gpt-3.5-turbo-instruct-0914.md)
- [Compare gpt-35-turbo-instruct](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure_text/gpt-35-turbo-instruct.md)
- [Compare gpt-35-turbo-instruct-0914](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure_text/gpt-35-turbo-instruct-0914.md)
- [Compare babbage-002](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/text-completion-openai/babbage-002.md)
- [Compare command](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/cohere/command.md)

## Related Resources

- [Calculate codegemma costs](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/ollama/model/codegemma.md)
- [All Ollama pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/ollama.md)

## FAQ

### Is codegemma cheaper than gpt-3.5-turbo-instruct-0914?

Yes. codegemma costs $0.0000 per 1M input tokens compared to gpt-3.5-turbo-instruct-0914's $1.50 per 1M input tokens. Both are completion models.

### What are the best alternatives to codegemma?

The most comparable completion models to codegemma are: gpt-3.5-turbo-instruct-0914 from Azure Text ($1.50/1M input tokens); gpt-35-turbo-instruct from Azure Text ($1.50/1M input tokens); gpt-35-turbo-instruct-0914 from Azure Text ($1.50/1M input tokens); babbage-002 from Text-completion-openai ($0.40/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

### How do I calculate codegemma costs?

codegemma is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.0000 and generating 1M output tokens costs $0.0000.

## Related Resources

- [Ollama models](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/provider/ollama.md)
- [Model library](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library.md)
- [LLM cost calculator](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/pricing.md)
- [Enterprise: Bifrost enterprise](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/enterprise)
- [Book a Demo: Bifrost demo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/book-a-demo)
- [Resources: Bifrost resources](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources.md)

---

*This is a markdown version of [https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/ollama/codegemma](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/ollama/codegemma) for AI/LLM consumption.*
