# AI API

Published articles for AI API.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Token Jacking: Cybercriminals Could Be Stealing Your AI Resources

DevFeed: [Token Jacking: Cybercriminals Could Be Stealing Your AI Resources](<https://devfeed.tech/articles/token-jacking-cybercriminals-could-be-stealing-your-ai-resources-7746.md>)

Original publisher: [Read original article](<https://unit42.paloaltonetworks.com/ai-token-jacking/>)

Author: Unit 42

Published: 2026-08-06T10:00:49Z

Content type: article

Language: en

Sources: [Unit 42](<https://devfeed.tech/sources/unit-42.md>)

Topics: [token jacking](<https://devfeed.tech/topics/token-jacking.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [API keys](<https://devfeed.tech/topics/api-keys.md>), [Large language models (LLMs)](<https://devfeed.tech/topics/large-language-models-llms.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [transfer stations](<https://devfeed.tech/topics/transfer-stations.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-api](<https://devfeed.tech/tags/ai-api.md>), [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [ai-security](<https://devfeed.tech/tags/ai-security.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [malware](<https://devfeed.tech/tags/malware.md>), [npm-packages](<https://devfeed.tech/tags/npm-packages.md>), [obfuscation](<https://devfeed.tech/tags/obfuscation.md>), [security](<https://devfeed.tech/tags/security.md>), [threat-research](<https://devfeed.tech/tags/threat-research.md>), [token-jacking](<https://devfeed.tech/tags/token-jacking.md>), [transfer-stations](<https://devfeed.tech/tags/transfer-stations.md>)

### AI overview

The article explains how criminals steal developers' AI API keys and use the resulting tokens to consume costly language-model resources, causing rapid financial losses. It outlines the role of authentication, automated access keys, token-based billing, and weak billing controls, and recommends security hygiene and AI protection measures.

### Source excerpt

Discover how attackers hijack AI tokens to fuel gray market transfer stations by stealing developer API keys. The post Token Jacking: Cybercriminals Could Be Stealing Your AI Resources appeared first on Unit 42.

## How to Monetize a Fine-Tuned Model API

DevFeed: [How to Monetize a Fine-Tuned Model API](<https://devfeed.tech/articles/how-to-monetize-a-fine-tuned-model-api-10058.md>)

Original publisher: [Read original article](<https://dodopayments.com/blogs/monetize-fine-tuned-model-api/>)

Author: Ayush Agarwal

Published: 2026-03-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dodo Payments Blog](<https://devfeed.tech/sources/dodo-payments-blog.md>)

Topics: [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [API](<https://devfeed.tech/topics/api.md>), [Binance](<https://devfeed.tech/topics/binance.md>), [Software as a service](<https://devfeed.tech/topics/saas.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-api](<https://devfeed.tech/tags/ai-api.md>), [building](<https://devfeed.tech/tags/building.md>), [cost](<https://devfeed.tech/tags/cost.md>), [developer](<https://devfeed.tech/tags/developer.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [inference](<https://devfeed.tech/tags/inference.md>), [merchant-of-record](<https://devfeed.tech/tags/merchant-of-record.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [payments](<https://devfeed.tech/tags/payments.md>), [pricing](<https://devfeed.tech/tags/pricing.md>), [pricing-strategy](<https://devfeed.tech/tags/pricing-strategy.md>)

### AI overview

A developer guide to monetizing fine-tuned model APIs through usage-based pricing. It covers per-inference billing, credit packs, metering, GPU-related costs, and using Dodo Payments as a merchant of record.

### Source excerpt

A developer's guide to building a profitable AI business by monetizing custom fine-tuned models through per-inference billing and credit packs.

## High-Precision Responses with Genkit's Google Search Integration

DevFeed: [High-Precision Responses with Genkit's Google Search Integration](<https://devfeed.tech/articles/high-precision-responses-with-genkit-s-google-search-integration-23889.md>)

Original publisher: [Read original article](<https://medium.com/firebase-developers/high-precision-responses-with-genkits-google-search-integration-7f142f5c9693?source=rss----8e8b7dc6774d---4>)

Author: tanabee

Published: 2024-10-21T18:37:56Z

Content type: tutorial

Language: en

Sources: [Firebase Developers - Medium](<https://devfeed.tech/sources/firebase-developers-medium.md>)

Topics: [Genkit](<https://devfeed.tech/topics/genkit.md>), [Google Search](<https://devfeed.tech/topics/google-search.md>), [Google](<https://devfeed.tech/topics/google.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-api](<https://devfeed.tech/tags/ai-api.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [code](<https://devfeed.tech/tags/code.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [genkit](<https://devfeed.tech/tags/genkit.md>), [github](<https://devfeed.tech/tags/github.md>), [google](<https://devfeed.tech/tags/google.md>), [google-search](<https://devfeed.tech/tags/google-search.md>), [grounding](<https://devfeed.tech/tags/grounding.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [integration](<https://devfeed.tech/tags/integration.md>)

### AI overview

This tutorial explains how to integrate Google Search with Genkit 0.5.9 so applications can use current information, including details from specific domains, when generating responses. It covers enabling Vertex AI, configuring a Google Cloud project and local environment, initializing a Genkit project, and running the Genkit Developer UI.

### Source excerpt

aGenkit With the release of Genkit version 0.5.9, it is now possible to leverage Google Search directly through Genkit. By using Google Search, Genkit can access the latest information, including niche details from specific domains, leading to more accurate responses. This article explains how to set up Google Search integration for Genkit. Enabling Vertex AI To use the Google Search feature, you need a Google Cloud project with Vertex AI enabled. Follow these steps to enable Vertex AI and link your local environment with Google Cloud: 1. In the Cloud console, Enable the Vertex AI API for your project. 2. Set environment variables: export GCLOUD_PROJECT=<your project ID> export GCLOUD_LOCATION=us-central1 3. Authenticate with gcloud: gcloud auth application-default loginInitializing a Genkit Project Next, initialize your Genkit project. % npm init -y % npm i -D genkit-cli % npm i genkit @genkit-ai/googleai @genkit-ai/vertexai % mkdir src && touch src/index.ts Paste the following initialization code into the src/index.ts file. import { genkit, z } from 'genkit'; import { vertexAI } from '@genkit-ai/vertexai'; import { gemini15Flash } from '@genkit-ai/vertexai'; const ai = genkit({ model: gemini15Flash, plugins: [vertexAI({ location: 'us-central1' })], }); export const mainFlow = ai.defineFlow( { name: 'mainFlow', inputSchema: z.string(), outputSchema: z.string(), }, async (prompt) => { const { text } = await ai.generate(prompt); return text; } ); ai.startFlowServer({ flows: [mainFlow] });Enabling Google Search To enable Google Search, specify `googleSearchRetrieval` with `withConfig` for the `gemini15Flash` model, as shown in the following code. const ai = genkit({ model: gemini15Flash.withConfig({ googleSearchRetrieval: {}}), plugins: [vertexAI({ location: 'us-central1' })], });Run locally Launch the Genkit Developer UI with the following command: % npx genkit start -- npx tsx --watch src/index.ts Try asking about the current weather in Tokyo. Ask about Tokyo's weat

## Encore AI API Creator

DevFeed: [Encore AI API Creator](<https://devfeed.tech/articles/encore-ai-api-creator-17771.md>)

Original publisher: [Read original article](<https://encore.dev/blog/ai-api-creator>)

Author: Marcus Kohlberg

Published: 2024-05-10T00:00:00Z

Content type: release

Language: en

Sources: [Encore Updates](<https://devfeed.tech/sources/encore-updates.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [API](<https://devfeed.tech/topics/api.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-api](<https://devfeed.tech/tags/ai-api.md>), [api](<https://devfeed.tech/tags/api.md>), [development](<https://devfeed.tech/tags/development.md>), [launch](<https://devfeed.tech/tags/launch.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

Encore launched AI API Creator, an AI-powered workflow for writing code for new services and APIs. It is integrated into Encore's local development dashboard, supports manual API edits, and is currently available in Encore.go, with Encore.ts support planned.

### Source excerpt

From prompt to production with one integrated workflow.

## How to build and authenticate an AI API using Modal, Neon, and Unkey

DevFeed: [How to build and authenticate an AI API using Modal, Neon, and Unkey](<https://devfeed.tech/articles/how-to-build-and-authenticate-an-ai-api-using-modal-neon-and-unkey-5378.md>)

Original publisher: [Read original article](<https://neon.com/blog/how-to-build-and-authenticate-an-ai-api-using-modal-neon-and-unkey>)

Author: Dom Eccleston

Published: 2024-02-14T11:55:37Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [API keys](<https://devfeed.tech/topics/api-keys.md>)

Tags: [ai-api](<https://devfeed.tech/tags/ai-api.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [community](<https://devfeed.tech/tags/community.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [openai](<https://devfeed.tech/tags/openai.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>), [whisper](<https://devfeed.tech/tags/whisper.md>)

### AI overview

A tutorial for building and authenticating an AI transcription and summarization API with Modal, Neon, and Unkey.

### Source excerpt

As a developer building a product, you might want to open up access to your API. But this requires you to solve a few problems: All of this takes work and take time away from actually building your product. That's where Unkey comes in. Unkey provides API keys a service so that yo...