OCI Generative AI Python Tutorial

OCI Generative AI in Python: Where to Start

Every time I start experimenting with a new framework or API style on OCI Generative AI, I waste the same hour rebuilding the same boilerplate: right credentials, right endpoint, right model ID format, right environment variables. Then I discover that LangChain and the OpenAI-compatible API use a different variable than the raw SDK. Then I find that the newer Responses API needs a project OCID that the chat completions endpoint does not. ...

June 29, 2026 · 3 min · Enrico Pesce
OCI GenAI Catalog model comparison

OCI GenAI Catalog: Pick the Right Model

OCI Generative AI has grown fast—Cohere, Google, Meta, OpenAI, xAI—all available, each with multiple variants. Every time I started a new project I had to dig through documentation to find the right model. So I built OCI GenAI Catalog : a reference guide covering 30+ models with a guided selection wizard. What’s inside 24 chat models from 5 providers, with specs: context window, multimodal, tool use, reasoning, fine-tuning support 9 embedding models and 1 reranking model for RAG pipelines A model selection wizard — filter by task, performance tier, and context needs to get a top-3 recommendation Provider summary Provider Models Strength Cohere 5 RAG, fine-tuning Google Gemini 3 Multimodal, long context (up to 1M tokens) Meta Llama 5 Open weights, MoE efficiency OpenAI gpt-oss 2 Reasoning, agents xAI Grok 6 2M context, code specialization Data is sourced from OCI official docs and kept up to date. Check it out at OCI GenAI Catalog .

March 9, 2026 · 1 min · Enrico Pesce
Ampere CPU inference benchmark

Generative AI: Efficient Inference on Cloud CPUs

It’s been a while since I last wrote here. Lately, I’ve been diving deep into AI inference—the process of running AI models to generate responses—specifically exploring whether we truly need expensive GPUs for running modern language models. Spoiler alert: the answer might surprise you. After extensive testing on Oracle Cloud Infrastructure (OCI), comparing ARM-based Ampere processors against the latest AMD EPYC chips, I discovered that the right combination of software optimizations and compressed models can deliver remarkable performance—all without a single GPU. ...

February 4, 2026 · 5 min · Enrico Pesce
Build a Translation Service with OCI Generative AI

Build a Translation Service with OCI Generative AI

The Challenge with Modern Translation Traditional translation services often struggle with context, idioms, and the subtle nuances that make language beautiful and meaningful. As businesses become increasingly global, there’s a growing need for translation services that can handle these complexities while maintaining security, scalability, and cost-effectiveness. Enter OCI Generative AI Oracle Cloud Infrastructure’s Generative AI service offers a compelling solution to these challenges. Unlike conventional translation APIs, OCI’s service leverages advanced language models that understand context and cultural nuances, making it an ideal choice for enterprise applications. ...